package com.douqu.game.activity.entity.e;

import com.douqu.game.core.e.BaseEnum;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2018-03-19 11:53
 */
public enum E_PlayerStatus implements BaseEnum {

    WAIT_MATCH(1, "等待进入匹配"),
    MATCH_ING(2, "匹配中"),
    WAIT_BATTLE_START(3, "等待战斗开始"),
    BATTLE_ING(4, "战斗中"),
    BATTLE_END(5, "战斗结束")
    ;

    int code;

    String msg;

    E_PlayerStatus(int code, String msg)
    {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
